[id].vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. <template>
  2. <!-- 页面头部 -->
  3. <HomePageHead></HomePageHead>
  4. <!-- 导航栏 -->
  5. <HomePageNavigation></HomePageNavigation>
  6. <!-- 列表页广告一 -->
  7. <HomeTopTen :imgurl="adImg1" v-if="adImg1"></HomeTopTen>
  8. <!-- 资讯列表 -->
  9. <main class="index_main">
  10. <!-- 面包屑导航 -->
  11. <div class="breadcrumb phone_none">
  12. <div class="inner">
  13. <span class="location">当前位置:</span>
  14. <el-breadcrumb :separator-icon="ArrowRight">
  15. <el-breadcrumb-item>
  16. <NuxtLink to="/">首页</NuxtLink>
  17. </el-breadcrumb-item>
  18. <el-breadcrumb-item v-if="routLevelTitle != ''">
  19. <NuxtLink :to="`/${targetSegment}/index.html`"> {{ routLevelTitle }}</NuxtLink>
  20. </el-breadcrumb-item>
  21. <el-breadcrumb-item>
  22. <NuxtLink :to="`list-1.html`"> {{ parent_name }}</NuxtLink>
  23. </el-breadcrumb-item>
  24. <el-breadcrumb-item>{{ routeNewsTtitle }}</el-breadcrumb-item>
  25. </el-breadcrumb>
  26. </div>
  27. </div>
  28. <div class="breadcrumb_box pc_none">
  29. <span class=" ">当前位置:</span>
  30. <NuxtLink to="/">首页</NuxtLink>
  31. <span class=" " v-if="routLevelTitle != ''">&gt;</span>
  32. <NuxtLink :to="`/${targetSegment}/index.html`"> {{ routLevelTitle }}</NuxtLink>
  33. <span class=" " >&gt;</span>
  34. <NuxtLink :to="`list-1.html`"> {{ parent_name }}</NuxtLink>
  35. <span class="" >&gt;</span>
  36. <span class="" >{{ routeNewsTtitle }}</span>
  37. </div>
  38. <section class="index_2 clearfix">
  39. <img class="index_2_img" :src="img_one" :title="newsDetail.title" :alt="newsDetail.title">
  40. <div class="index_2_right">
  41. <h4 class="index_2_h4">{{ newsDetail.title }}</h4>
  42. <div class="index_2_ul clearfix phone_none">
  43. <div class="index_2_li clearfix">
  44. <label class="index_2_li_label">企业名称</label>
  45. <span class="index_2_li_text">{{ newsDetail.business_name }}</span>
  46. </div>
  47. <div class="index_2_li clearfix">
  48. <label class="index_2_li_label">联 系 人</label>
  49. <span class="index_2_li_text">{{ newsDetail.content_person }}</span>
  50. </div>
  51. <div class="index_2_li clearfix">
  52. <label class="index_2_li_label">电 &nbsp;&nbsp;&nbsp;&nbsp; 话</label>
  53. <span class="index_2_li_text">{{ newsDetail.telephone }}</span>
  54. </div>
  55. <div class="index_2_li clearfix">
  56. <label class="index_2_li_label">手 &nbsp;&nbsp;&nbsp;&nbsp; 机</label>
  57. <span class="index_2_li_text">{{ newsDetail.mobile }}</span>
  58. </div>
  59. <div class="index_2_li clearfix">
  60. <label class="index_2_li_label">传 &nbsp;&nbsp;&nbsp;&nbsp; 真</label>
  61. <span class="index_2_li_text">{{ newsDetail.fax }}</span>
  62. </div>
  63. <div class="index_2_li clearfix">
  64. <label class="index_2_li_label">邮 &nbsp;&nbsp;&nbsp;&nbsp; 箱</label>
  65. <span class="index_2_li_text">{{ newsDetail.email }}</span>
  66. </div>
  67. <div class="index_2_li clearfix">
  68. <label class="index_2_li_label">邮 &nbsp;&nbsp;&nbsp;&nbsp; 编</label>
  69. <span class="index_2_li_text">{{ newsDetail.post_code }}</span>
  70. </div>
  71. <div class="index_2_li clearfix">
  72. <label class="index_2_li_label">地 &nbsp;&nbsp;&nbsp;&nbsp; 址</label>
  73. <span class="index_2_li_text">{{ newsDetail.address }}</span>
  74. </div>
  75. </div>
  76. <div class="index_2_ul clearfix pc_none">
  77. <div class="index_2_li clearfix">
  78. <label class="index_2_li_label">企业名称</label>
  79. <span class="index_2_li_text">{{ newsDetail.business_name }}</span>
  80. </div>
  81. <div class="index_2_li clearfix">
  82. <label class="index_2_li_label">电 &nbsp;&nbsp;&nbsp;&nbsp; 话</label>
  83. <span class="index_2_li_text">{{ newsDetail.telephone }}</span>
  84. </div>
  85. <div class="index_2_li clearfix">
  86. <label class="index_2_li_label">联 系 人</label>
  87. <span class="index_2_li_text">{{ newsDetail.content_person }}</span>
  88. </div>
  89. <div class="index_2_li clearfix">
  90. <label class="index_2_li_label">传 &nbsp;&nbsp;&nbsp;&nbsp; 真</label>
  91. <span class="index_2_li_text">{{ newsDetail.fax }}</span>
  92. </div>
  93. <div class="index_2_li clearfix">
  94. <label class="index_2_li_label">手 &nbsp;&nbsp;&nbsp;&nbsp; 机</label>
  95. <span class="index_2_li_text">{{ newsDetail.mobile }}</span>
  96. </div>
  97. <div class="index_2_li clearfix">
  98. <label class="index_2_li_label">邮 &nbsp;&nbsp;&nbsp;&nbsp; 箱</label>
  99. <span class="index_2_li_text">{{ newsDetail.email }}</span>
  100. </div>
  101. <div class="index_2_li clearfix">
  102. <label class="index_2_li_label">邮 &nbsp;&nbsp;&nbsp;&nbsp; 编</label>
  103. <span class="index_2_li_text">{{ newsDetail.post_code }}</span>
  104. </div>
  105. <div class="index_2_li clearfix">
  106. <label class="index_2_li_label">地 &nbsp;&nbsp;&nbsp;&nbsp; 址</label>
  107. <span class="index_2_li_text">{{ newsDetail.address }}</span>
  108. </div>
  109. </div>
  110. </div>
  111. </section>
  112. <section class="index_3 clearfix">
  113. <div class="show_head_box clearfix phone_none">
  114. <span class="show_head_a show_head_a_only">项目介绍</span>
  115. </div>
  116. <div class="phone_box_1 pc_none" >
  117. <div class="phone_box_1_head">
  118. <NuxtLink class="" >
  119. 项目介绍
  120. </NuxtLink>
  121. </div>
  122. </div>
  123. <article class="show_article" v-html="newsDetail.introduce">
  124. </article>
  125. </section>
  126. <section class="index_4 clearfix">
  127. <div class="show_head_box_2 clearfix phone_none">
  128. <span class="show_head_a_2 show_head_a_only_2">加盟详情</span>
  129. </div>
  130. <div class="phone_box_2 pc_none" >
  131. <div class="phone_box_1_head">
  132. <NuxtLink class="" >
  133. 加盟详情
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. <article class="show_article_2" v-html="newsDetail.franchise_details">
  138. </article>
  139. </section>
  140. <section class="index_4 clearfix">
  141. <div class="show_head_box_3 clearfix phone_none">
  142. <span class="show_head_a_3 show_head_a_only_3">图片展示</span>
  143. </div>
  144. <div class="phone_box_3 pc_none" >
  145. <div class="phone_box_1_head">
  146. <NuxtLink class="" >
  147. 图片展示
  148. </NuxtLink>
  149. </div>
  150. </div>
  151. <div class="img_ul_1 clearfix">
  152. <div class="img_li_1" title="" v-for="(item, index) in imgList" :key="index">
  153. <img class="img_li_1_img" :src="item" :title="newsDetail.title" :alt="newsDetail.title">
  154. </div>
  155. </div>
  156. </section>
  157. <section class="index_5 clearfix">
  158. <div class="index_2_head clearfix phone_none">
  159. <span class="index_2_head_a index_2_head_a_only" title="">精品项目推荐</span>
  160. </div>
  161. <div class="phone_box_4 pc_none" >
  162. <div class="phone_box_1_head">
  163. <NuxtLink class="" >
  164. 精品项目推荐
  165. </NuxtLink>
  166. </div>
  167. </div>
  168. <div class="categ_ul_img_1 phone_none">
  169. <div class="categ_li_img_1" v-for="(item, index) in recommend" :key="index">
  170. <a class="categ_li_img_1_a" :href="getLinkPathDetail(item)" :title="item.title">
  171. <img class="categ_li_img_1_img" :src="item.imgurl" :title="item.title" :alt="item.title">
  172. <div class="categ_li_img_1_dot2 dot2">
  173. {{ item.title }}
  174. </div>
  175. </a>
  176. </div>
  177. </div>
  178. <div class="phone_img_ul pc_none">
  179. <div class="phone_img_li" v-for="(item, index) in recommend.slice(0, 4)" :key="index">
  180. <a class="phone_img_li_a" :href="getLinkPathDetail(item)" :title="item.title">
  181. <img class="phone_img_li_img" :src="item.imgurl" :title="item.title" :alt="item.title">
  182. <div class="phone_img_li_dot2 dot2">
  183. {{ item.title }}
  184. </div>
  185. </a>
  186. </div>
  187. </div>
  188. </section>
  189. </main>
  190. <HomeTopTen :imgurl="adImg2" v-if="adImg2"></HomeTopTen>
  191. <!-- 页面底部 -->
  192. <HomeFoot1></HomeFoot1>
  193. </template>
  194. <script setup>
  195. //1.页面依赖 start ---------------------------------------->
  196. import { onMounted } from 'vue'
  197. import { ElBreadcrumb, ElBreadcrumbItem } from 'element-plus'
  198. import { ArrowRight } from '@element-plus/icons-vue'
  199. //1.页面依赖 end ---------------------------------------->
  200. //2.页面路径 start ---------------------------------------->
  201. const route = useRoute();
  202. const articleId = parseInt(route.params.id);
  203. const targetSegment = getRoutePath(1);
  204. const targetSegment1 = getRoutePath(2);
  205. const allSegment = targetSegment + '/' + targetSegment1;
  206. const parent_name = ref("");
  207. const parent_id = ref("");
  208. //通过导航路径反向查询导航id
  209. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  210. method: 'GET',
  211. query: {
  212. 'pinyin': allSegment,
  213. },
  214. });
  215. if (getRouteId.code == 200) {
  216. parent_name.value = getRouteId.data.alias;
  217. parent_id.value = getRouteId.data.category_id;
  218. } else {
  219. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  220. console.log("错误位置:通过url路径查询导航池id")
  221. console.log("后端错误反馈:", getRouteId.message)
  222. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  223. }
  224. //2.页面路径 end ---------------------------------------->
  225. //3.面包屑 start ---------------------------------------->
  226. const routLevelTitle = ref("");
  227. const routLevelId = ref("");
  228. const getRouteId1 = await requestDataPromise('/web/getWebsiteRoute', {
  229. method: 'GET',
  230. query: {
  231. 'pinyin': targetSegment,
  232. },
  233. });
  234. if (getRouteId1.code == 200) {
  235. routLevelTitle.value = getRouteId1.data.alias;
  236. routLevelId.value = getRouteId1.data.category_id;
  237. } else {
  238. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  239. console.log("错误位置:通过url路径查询导航池id")
  240. console.log("后端错误反馈:", getRouteId.message)
  241. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  242. }
  243. //3.面包屑 end ---------------------------------------->
  244. //4.新闻详情 start ---------------------------------------->
  245. //4.1 资讯详情
  246. const newsDetail = ref({})
  247. const routeNewsTtitle = ref("");
  248. //4.2 发布日期
  249. const time = ref("");
  250. // 图片列表
  251. const imgList = ref([]);
  252. const img_one = ref("");
  253. //4.3 获取详情
  254. let seoTitle;
  255. let seoDescription;
  256. let seoKeywords;
  257. const mkdata = await requestDataPromise('/web/getWebsiteProjectInfo', {
  258. method: 'GET',
  259. query: {
  260. 'id': articleId
  261. },
  262. });
  263. if (mkdata.code == 200) {
  264. //获取内容
  265. newsDetail.value = mkdata.data;
  266. //获取发布时间
  267. time.value = newsDetail.value.updated_at.split(' ')[0];
  268. //修正标题长度
  269. if (newsDetail.value.title.length >= 20) {
  270. routeNewsTtitle.value = newsDetail.value.title.substr(0, 20) + "...";
  271. } else {
  272. routeNewsTtitle.value = newsDetail.value.title
  273. }
  274. // 图片列表
  275. imgList.value = JSON.parse(mkdata.data.imgurl);
  276. img_one.value = imgList.value[0];
  277. seoTitle = newsDetail.value.title;
  278. seoDescription = newsDetail.value.description;
  279. seoKeywords = newsDetail.value.keyword;
  280. } else {
  281. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  282. console.log("错误位置:获取详情内容")
  283. console.log("后端错误反馈:", mkdata.message)
  284. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  285. }
  286. //4.新闻详情 end ---------------------------------------->
  287. // 推荐
  288. let getJson1 = [
  289. { "level": "1,12,0" },
  290. ]
  291. let jsonString1 = JSON.stringify(getJson1);
  292. getPageHotData(jsonString1);
  293. // 获取推荐数据
  294. let recommend = ref([]);
  295. async function getPageHotData(jsonString1) {
  296. const mkdata = await requestDataPromise('/web/getWebsiteProject', {
  297. method: 'GET',
  298. query: {
  299. 'id': jsonString1
  300. },
  301. });
  302. console.log('mkdata_HotData', mkdata.data)
  303. if (mkdata.code == 200) {
  304. if (mkdata.data.length > 0) {
  305. recommend.value = mkdata.data[0].img_num;
  306. }
  307. } else {
  308. ElMessage.error(mkdata.message)
  309. }
  310. }
  311. //5.设置seo信息 start---------------------------------------->
  312. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  313. method: 'GET',
  314. query: {
  315. 'catid': parent_id.value
  316. },
  317. });
  318. if (setData.code == 200) {
  319. let seoSuffix = setData.data.suffix;
  320. let seoName = setData.data.website_name;
  321. useSeoMeta({
  322. title: seoTitle + "_" + seoName + "_" + seoSuffix,
  323. meta: [
  324. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  325. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  326. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
  327. ]
  328. });
  329. } else {
  330. console.log("设置频道页SEO出错!", setData.message)
  331. }
  332. //5.设置seo信息 end---------------------------------------->
  333. //6.广告 start ---------------------------------------->
  334. let adImg1 = ref([]);
  335. let adImg2 = ref([]);
  336. onMounted(async () => {
  337. const { $webUrl, $CwebUrl } = useNuxtApp();
  338. //广告1
  339. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_detail_0001`
  340. const responseAd1 = await fetch(url, {
  341. headers: {
  342. 'Content-Type': 'application/json',
  343. 'Userurl': $CwebUrl,
  344. 'Origin': $CwebUrl
  345. }
  346. });
  347. const resultAd1 = await responseAd1.json();
  348. adImg1.value = resultAd1.data[0];
  349. //广告2
  350. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_detail_0002`
  351. const responseAd2 = await fetch(url2, {
  352. headers: {
  353. 'Content-Type': 'application/json',
  354. 'Userurl': $CwebUrl,
  355. 'Origin': $CwebUrl
  356. }
  357. });
  358. const resultAd2 = await responseAd2.json();
  359. adImg2.value = resultAd2.data[0];
  360. })
  361. //6.广告 end ---------------------------------------->
  362. //8.页面图片放大 start---------------------------------------->
  363. const previewVisible = ref(false)
  364. const selectedImage = ref(' ')
  365. const openPreview = (event) => {
  366. if (event.target.tagName === 'IMG') {
  367. selectedImage.value = event.target.src;
  368. previewVisible.value = true;
  369. }
  370. }
  371. const closePreview = () => {
  372. previewVisible.value = false;
  373. }
  374. //8.页面图片放大 end---------------------------------------->
  375. </script>
  376. <style lang="less" scoped>
  377. @import url('@/assets/css/project/detail.less');
  378. </style>
  379. <style lang="less" scoped>
  380. @media screen and (min-width:801px){/*pc*/
  381. .pc_none{display:none;}
  382. }
  383. @media screen and (max-width:800px){/*ipad_phone*/
  384. .index_main{width:100%;margin:0px auto 30px;}
  385. .breadcrumb_box {
  386. height: 22px;
  387. width: 92%;
  388. margin: 10px auto;
  389. word-break: keep-all;
  390. white-space: nowrap;
  391. overflow: hidden;
  392. text-overflow: ellipsis;
  393. font-size: 14px;
  394. color: #666;
  395. * {
  396. font-size: 14px;
  397. display: inline;
  398. color: #666;
  399. line-height: 22px;
  400. height: 22px;
  401. margin-right: 5px;
  402. }
  403. }
  404. .index_2{width:92%;margin:0px auto 0px;display:block;}
  405. .index_2_img{width:auto;max-width:100%;height:302px;margin:0px auto 0px;float:none;display:block;border-radius:8px;}
  406. .index_2_right{width:100%;margin:0px auto 0px;float:none;
  407. .index_2_li{margin-bottom:20px;width:49%; }
  408. .index_2_li:nth-of-type(odd){float:left;}
  409. .index_2_li:nth-of-type(even){float:right;}
  410. .index_2_li:nth-of-type(1){width:100%;}
  411. .index_2_li:nth-last-of-type(1){width:100%;}
  412. .index_2_li:nth-last-of-type(2){width:33%; }
  413. .index_2_li:nth-last-of-type(3){width:65%; }
  414. .index_2_li:nth-of-type(n+6){ width:100%;}
  415. .index_2_li .index_2_li_label{line-height:18px;height:18px;font-size:14px;
  416. min-width:auto;margin-right:8px;}
  417. .index_2_li .index_2_li_text{line-height:18px; font-size:14px;flex:1;
  418. box-sizing:border-box;
  419. word-wrap: break-word;
  420. overflow-wrap: break-word;
  421. white-space: pre-wrap;
  422. word-break: break-all;
  423. }
  424. .index_2_li:nth-of-type(5) .index_2_li_text{ height:auto;
  425. word-wrap: break-word;
  426. overflow-wrap: break-word;
  427. white-space: pre-wrap;
  428. word-break: break-all;
  429. }
  430. }
  431. .index_2_h4{font-size:16px;line-height:26px;margin-top:11px;border:0px;padding-bottom:0px;}
  432. .phone_box_1{
  433. width:92%;margin:0px auto 0px;
  434. .phone_box_1_head{
  435. height:50px;line-height:50px;
  436. background:#fff;border-bottom:1px solid #E6E6E6;
  437. width:100%;
  438. a{
  439. float:left;height:50px;line-height:50px;margin:0;position:relative;
  440. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  441. position:relative;padding-left:8px;
  442. }
  443. a::before{
  444. content: '';display: block;
  445. position:absolute;left:0px;top:15px;
  446. background:#a91b33;
  447. width:3px;height:20px;
  448. }
  449. }
  450. }
  451. .phone_box_2{
  452. width:92%;margin:0px auto 0px;
  453. .phone_box_1_head{
  454. height:50px;line-height:50px;
  455. background:#fff;border-bottom:1px solid #E6E6E6;
  456. width:100%;
  457. a{
  458. float:left;height:50px;line-height:50px;margin:0;position:relative;
  459. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  460. position:relative;padding-left:8px;
  461. }
  462. a::before{
  463. content: '';display: block;
  464. position:absolute;left:0px;top:15px;
  465. background:#a91b33;
  466. width:3px;height:20px;
  467. }
  468. }
  469. }
  470. .show_article{
  471. width:92%!important;margin:15px auto 0px!important;
  472. line-height:26px!important;
  473. min-height:100px;
  474. }
  475. .show_article, .show_article:deep(*){
  476. font-size:16px!important;line-height:26px!important;
  477. }
  478. .show_article_2{
  479. width:92%!important;margin:15px auto 0px!important;
  480. line-height:26px!important;
  481. min-height:100px;
  482. }
  483. .show_article_2, .show_article_2:deep(*){
  484. font-size:16px!important;line-height:26px!important;
  485. }
  486. .phone_box_3{
  487. width:92%;margin:0px auto 0px;
  488. .phone_box_1_head{
  489. height:50px;line-height:50px;
  490. background:#fff;border-bottom:1px solid #E6E6E6;
  491. width:100%;
  492. a{
  493. float:left;height:50px;line-height:50px;margin:0;position:relative;
  494. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  495. position:relative;padding-left:8px;
  496. }
  497. a::before{
  498. content: '';display: block;
  499. position:absolute;left:0px;top:15px;
  500. background:#a91b33;
  501. width:3px;height:20px;
  502. }
  503. }
  504. }
  505. .img_ul_1{
  506. width:92%;
  507. margin:0px auto 0px;
  508. .img_li_1{
  509. width:100%;margin:15px 0px 0px;
  510. height:auto;float:none;min-height:100px;
  511. }
  512. }
  513. .phone_box_4{
  514. width:92%;margin:0px auto 0px;
  515. .phone_box_1_head{
  516. height:50px;line-height:50px;
  517. background:#fff;border-bottom:1px solid #E6E6E6;
  518. width:100%;
  519. a{
  520. float:left;height:50px;line-height:50px;margin:0;position:relative;
  521. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  522. position:relative;padding-left:8px;
  523. }
  524. a::before{
  525. content: '';display: block;
  526. position:absolute;left:0px;top:15px;
  527. background:#a91b33;
  528. width:3px;height:20px;
  529. }
  530. }
  531. }
  532. .phone_img_ul{
  533. width:92%;overflow:hidden;min-height:447px;
  534. margin:0px auto 0;
  535. .phone_img_li{ width:48%; margin-top:15px;}
  536. .phone_img_li:nth-of-type(odd){float:left;}
  537. .phone_img_li:nth-of-type(even){float:right;}
  538. .phone_img_li_a{width:100%;display:block;}
  539. .phone_img_li_img{display:block;width:100%;height:44vw;}
  540. .phone_img_li_dot2{
  541. color: #333;
  542. font-size: 4vw;
  543. height: 10vw;
  544. line-height: 5vw;
  545. margin-top: 6px;
  546. width: 100%;}
  547. }
  548. .index_3{margin-top:0px;}
  549. .index_4{margin-top:0px;}
  550. .phone_none{display:none;}
  551. }
  552. </style>